package com.wangm.elasticsearch.entity;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

/**
 * @author wangmeng
 * @since 2022/1/13
 */
@Data
@Document(indexName = "user")
public class User {

    private String name;

    private Long age;
}
